package kingone.phone_store_spring_practice.repository;

import kingone.phone_store_spring_practice.entity.PhoneCategory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface PhoneCategoryRepository extends JpaRepository<PhoneCategory,Integer> {

    public  List<PhoneCategory> findByCategoryType(Integer type);
}
